<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>二手交易</title>
    <link rel="stylesheet" type="text/css" href="../../../css/aui/aui.css" />
    <style>
        #app {
            height: 100vh;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: flex-start;
        }

        .btn {
            width: 60vw;
            margin-top: 4rem;
        }
    </style>
</head>

<body>
    <div id="app">
        <div>
            <img class="btn" src="../../../image/img/biankuang03.png" @click="openWin('recycle')" alt="回收专区">
            <img class="btn" src="../../../image/img/biankuang04.png" @click="openWin('used')" alt="二手">
        </div>
    </div>
</body>
<script src="../../../script/api.js" charset="utf-8"></script>
<script src="../../../script/common/jquery-3.3.1.min.js" charset="utf-8"></script>
<script src="../../../script/common/common.js" charset="utf-8"></script>
<script src="../../../script/common/config.js" charset="utf-8"></script>
<script src="../../../script/common/vue.min.js" charset="utf-8"></script>
<script>
    apiready = function() {
        api.parseTapmode();
    }

    var vm = new Vue({
        el: "#app",
        data: {},
        methods: {
            openWin(name) {
                var winInfo = {
                    recycle: {
                        name: 'recycle_list_win',
                        url: './recycle/list_win.html'
                    },
                    used: {
                        name: 'used_list_win',
                        url: './used/list_win.html'
                    }
                };
                open_w(winInfo[name].name, winInfo[name].url);
            }
        }
    });
</script>

</html>
